package day015.homework.p8;

import java.util.LinkedHashMap;
import java.util.LinkedHashSet;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student("it001", "John", 96.6);
        Student s2 = new Student("it002", "Jane", 66.6);
        Student s3 = new Student("it003", "Tom", 93);
        Student s4 = new Student("it003", "张三", 96);

        LinkedHashMap<Student, String> map = new LinkedHashMap<>();
        map.put(s1, "上海");
        map.put(s2, "西安");
        map.put(s3, "南京");
        map.put(s4, "杭州");

        System.out.println(map);
    }
}
